package config;

public class Configuration {
	private String server_ip="127.0.0.1";
	private int server_port=3306;
	private String dbname="mas_system";
	private String table_name="demo_1";
	private String username="root";
	private  String psw="admin";
	private String xlsfilename="data.xls";
	private String xls_file_address;
	
	public String getXlsfilename() {
		return xlsfilename;
	}
	public void setXlsfilename(String xlsfilename) {
		this.xlsfilename = xlsfilename;
		xls_file_address=System.getProperty("user.dir")+"/content//"+xlsfilename;
	}
	public String getXls_file_address() {
		
		return xls_file_address;
	}
	public int getServer_port() {
		return server_port;
	}
	public void setServer_port(int serverPort) {
		server_port = serverPort;
	}
	public String getXlsFilename() {
		return xlsfilename;
	}
	public String getServer_ip() {
		return server_ip;
	}
	public void setServer_ip(String serverIp) {
		server_ip = serverIp;
	}
	public String getDbname() {
		return dbname;
	}
	public void setDbname(String dbname) {
		this.dbname = dbname;
	}
	public String getTable_name() {
		return table_name;
	}
	public void setTable_name(String tableName) {
		table_name = tableName;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPsw() {
		return psw;
	}
	public void setPsw(String psw) {
		this.psw = psw;
	}

}
